package com.eastjet.maintenance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eastjet.maintenance.domain.Equipment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 杨博文
 * @description 针对表【equipment(设备档案)】的数据库操作Mapper
 * @createDate 2024-11-25 09:23:38
 * @Entity com.eastjet.pojo.domain.Equipment
 */
@Mapper
@Repository
public interface EquipmentMapper extends BaseMapper<Equipment> {

    /**
     * 查询设备档案/条件查询
     * @param equipment
     * @return
     */
   List<Equipment> SelectEquipment(Equipment equipment);

    /**
     * 删除设备档案
     * @param code
     * @return
     */
   Integer DeleteEquipment(@Param("code") String code);
}




